Optimal. Leaf size=590 \[ \frac{2 \sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right ) \left (7 \sqrt [3]{b} (5 b c-2 a f)-5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} (7 b d-4 a g)\right )}{35 \sqrt [4]{3} b^{5/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} (7 b d-4 a g) E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{7 b^{5/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{2 \sqrt{a+b x^3} (7 b d-4 a g)}{7 b^{5/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{2 e \sqrt{a+b x^3}}{3 b}+\frac{2 f x \sqrt{a+b x^3}}{5 b}+\frac{2 g x^2 \sqrt{a+b x^3}}{7 b} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.00036, antiderivative size = 590, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188 \[ \frac{2 \sqrt{2+\sqrt{3}} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right ) \left (7 \sqrt [3]{b} (5 b c-2 a f)-5 \left (1-\sqrt{3}\right ) \sqrt [3]{a} (7 b d-4 a g)\right )}{35 \sqrt [4]{3} b^{5/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{\sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} (7 b d-4 a g) E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{7 b^{5/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{2 \sqrt{a+b x^3} (7 b d-4 a g)}{7 b^{5/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{2 e \sqrt{a+b x^3}}{3 b}+\frac{2 f x \sqrt{a+b x^3}}{5 b}+\frac{2 g x^2 \sqrt{a+b x^3}}{7 b} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x + e*x^2 + f*x^3 + g*x^4)/Sqrt[a + b*x^3],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 136.716, size = 527, normalized size = 0.89 \[ \frac{4 \sqrt [4]{3} \sqrt [3]{a} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \sqrt{- \sqrt{3} + 2} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \left (a g - \frac{7 b d}{4}\right ) E\left (\operatorname{asin}{\left (\frac{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{b} x}{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x} \right )}\middle | -7 - 4 \sqrt{3}\right )}{7 b^{\frac{5}{3}} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \sqrt{a + b x^{3}}} + \frac{2 e \sqrt{a + b x^{3}}}{3 b} + \frac{2 f x \sqrt{a + b x^{3}}}{5 b} + \frac{2 g x^{2} \sqrt{a + b x^{3}}}{7 b} - \frac{2 \cdot 3^{\frac{3}{4}} \sqrt{\frac{a^{\frac{2}{3}} - \sqrt [3]{a} \sqrt [3]{b} x + b^{\frac{2}{3}} x^{2}}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \sqrt{\sqrt{3} + 2} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right ) \left (- 5 \sqrt [3]{a} \left (- \sqrt{3} + 1\right ) \left (4 a g - 7 b d\right ) + \sqrt [3]{b} \left (14 a f - 35 b c\right )\right ) F\left (\operatorname{asin}{\left (\frac{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{b} x}{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x} \right )}\middle | -7 - 4 \sqrt{3}\right )}{105 b^{\frac{5}{3}} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a} + \sqrt [3]{b} x\right )}{\left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )^{2}}} \sqrt{a + b x^{3}}} - \frac{8 \sqrt{a + b x^{3}} \left (a g - \frac{7 b d}{4}\right )}{7 b^{\frac{5}{3}} \left (\sqrt [3]{a} \left (1 + \sqrt{3}\right ) + \sqrt [3]{b} x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**3+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 2.10678, size = 357, normalized size = 0.61 \[ -\frac{2 i 3^{3/4} \sqrt [3]{a} \sqrt{\frac{(-1)^{5/6} \left (\sqrt [3]{-b} x-\sqrt [3]{a}\right )}{\sqrt [3]{a}}} \sqrt{\frac{(-b)^{2/3} x^2}{a^{2/3}}+\frac{\sqrt [3]{-b} x}{\sqrt [3]{a}}+1} F\left (\sin ^{-1}\left (\frac{\sqrt{-\frac{i \sqrt [3]{-b} x}{\sqrt [3]{a}}-(-1)^{5/6}}}{\sqrt [4]{3}}\right )|\sqrt [3]{-1}\right ) \left (35 b \left (\sqrt [3]{a} d+\sqrt [3]{-b} c\right )-2 a \left (10 \sqrt [3]{a} g+7 \sqrt [3]{-b} f\right )\right )-30 (-1)^{2/3} \sqrt [4]{3} a^{2/3} \sqrt{\frac{(-1)^{5/6} \left (\sqrt [3]{-b} x-\sqrt [3]{a}\right )}{\sqrt [3]{a}}} \sqrt{\frac{(-b)^{2/3} x^2}{a^{2/3}}+\frac{\sqrt [3]{-b} x}{\sqrt [3]{a}}+1} (7 b d-4 a g) E\left (\sin ^{-1}\left (\frac{\sqrt{-\frac{i \sqrt [3]{-b} x}{\sqrt [3]{a}}-(-1)^{5/6}}}{\sqrt [4]{3}}\right )|\sqrt [3]{-1}\right )+2 (-b)^{2/3} \left (a+b x^3\right ) (35 e+3 x (7 f+5 g x))}{105 (-b)^{5/3} \sqrt{a+b x^3}} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(c + d*x + e*x^2 + f*x^3 + g*x^4)/Sqrt[a + b*x^3],x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.01, size = 1491, normalized size = 2.5 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{3} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/sqrt(b*x^3 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{3} + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/sqrt(b*x^3 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.32436, size = 187, normalized size = 0.32 \[ e \left (\begin{cases} \frac{x^{3}}{3 \sqrt{a}} & \text{for}\: b = 0 \\\frac{2 \sqrt{a + b x^{3}}}{3 b} & \text{otherwise} \end{cases}\right ) + \frac{c x \Gamma \left (\frac{1}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{3}, \frac{1}{2} \\ \frac{4}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt{a} \Gamma \left (\frac{4}{3}\right )} + \frac{d x^{2} \Gamma \left (\frac{2}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{2}{3} \\ \frac{5}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt{a} \Gamma \left (\frac{5}{3}\right )} + \frac{f x^{4} \Gamma \left (\frac{4}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{4}{3} \\ \frac{7}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt{a} \Gamma \left (\frac{7}{3}\right )} + \frac{g x^{5} \Gamma \left (\frac{5}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{5}{3} \\ \frac{8}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \sqrt{a} \Gamma \left (\frac{8}{3}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**3+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{g x^{4} + f x^{3} + e x^{2} + d x + c}{\sqrt{b x^{3} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/sqrt(b*x^3 + a),x, algorithm="giac")
[Out]